import WsConstructor from "../util/wsUtil";
import {WS_URL} from "./baseurl"
let baseWs = new WsConstructor({
    // baseUrl : "ws://8.129.163.181:9898/imsystem",
    baseUrl : WS_URL,
    sendInterceptor(data){
        return JSON.stringify(data);
    },
    messageInterceptor(res){
        return JSON.parse(res.data);
    }

});

export default baseWs;